export interface good {
  id: string;
  image_path: string;
  name: string;
  price: number;
  description?: string;
  month_sales?: number;
  rating?: number;
  discount?: number;
}

export interface menu {
  id: string;
  name: string;
  description?: string;
  goods?: good[];
}

export interface cartItem {
  good: good;
  quantity: number;
}

export interface shoppingCart {
  carts: cartItem[];
  totalPrice: number;
}

export interface shoppingOrder {
  // 店铺名
  shopName: string;
  // 店铺地址
  shopAddress: string;
  // 订单类型：外带或堂食
  orderType: string;
  // 取餐时间
  pickupTime: string;
  // 订单列表
  myCart: shoppingCart;
  // 是否需要餐具
  tableware: boolean;
  // 订单备注
  note: string;
}
